local skynet = require "skynet"
local filelog = require "filelog"
local timetool = require "timetool"
local service = nil
local agentmessage = {
	service = nil,
}

--心跳
agentmessage.nodeheart = {
	process = function( ... )
		if not service then
			service = agentmessage.service
		end
		service.last_heart_time = timetool.get_time()
		return {servertime = service.last_heart_time}
	end
}

return agentmessage 